<html><head>
   <title>Post Mortem Analysis</title>
   <meta name="generator"  content="HelpMaker.net">
   <meta name="keywords"  content="Running Scripts,Post-Mortem analysisDebugging"></head>
<body bgcolor="#FFFCEA">
<table width="100%"  border="0"  cellspacing="0"  cellpadding="2"  bgcolor="#C0C0C0">
  <tr>
    <td align="left">
      <div align="left"><font face="Arial"  color="#010101"  size="4"><span style=" font-size:14pt; font-family:Arial; color:#010101">Post-Mortem Analysis</span></font></div>

    </td>
    <td align="right">
      <font face="Arial"  size="2">
        <a href="remotepythonengines.htm">Previous</a>&nbsp;<a href="pyscripter.htm">Top</a>&nbsp;<a href="usingmatplotlib.htm">Next</a>
      </font>
    </td>
  </tr></table>
<hr><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">If your program raises an exception and stops, you can use the Post-Mortem command from the </span></font><a href="runmenu.htm"><font face="Arial"  color="#0000ff"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#0000ff"><u>Run Menu</u></span></font></a><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"> to analyse the reason of failure.&nbsp; In this mode 
you can use the debugger windows (Call 
Stack, Variables, Watches) to examine the state of execution when the exception occurred and 
you can also issue interpreter commands in the context of the selected frame of the Traceback. 
To exit the Post-Mortem analysis you can use the &quot;Abort Debugging&quot; command.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">The Post-Mort command is available only when the last script that you ran or debugged exited 
with an exception an until the next time you run or debug a script.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">You may also set the </span></font><a href="ideoptions.htm"><font face="Arial"  color="#0000ff"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#0000ff"><u>IDE option</u></span></font></a><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"> &quot;Post mortem on exception&quot; to automatically enter the Post-Mortem when a script exits with an exception.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><i><br></i></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><i>&nbsp;</i></span></font></div>

</body></html>
